/**
 * 测试Properties使用spring注入是否成功
 *
 * */
public class TestProperties {
    public String username;

    public void setUsername(String username) {
        this.username = username;
    }
    public void save(){
        System.out.println("用户名："+username);
    }
}
